package com.atguigu;

public class BookFactory01 {
    public static Book getInstance() {
        Book book = new Book();
        book.setBname("早岁已知世事艰");
        book.setPrice(100);
        return book;
    }

}
